package com.valeandre.euroro.net;

import java.util.Observable;

public class NetworkObservable extends Observable {
	
	private String tag;

	public void notifyOperationPerformed(Object data) {
		setChanged();
		notifyObservers(data);
	}
	
	public void notifyOperationFailed() {
		setChanged();
		notifyObservers();
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}
	
}
